package pers.xiaojun.boot.file.core.client;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import pers.xiaojun.boot.file.core.client.s3.S3FileClientConfig;
import pers.xiaojun.boot.file.core.constants.FileStorageConstants;
import pers.xiaojun.boot.file.core.enums.FileStorageEnum;

/**
 * 文件客户端配置统一接口
 *
 * @author xiaojun
 * @since 2025-11-13
 */
@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        include = JsonTypeInfo.As.PROPERTY,
        property = FileStorageConstants.STORAGE_PROPERTY
)
@JsonSubTypes({
        @JsonSubTypes.Type(value = S3FileClientConfig.class, name = FileStorageConstants.S3),
})
public interface FileClientConfig {

}
